package com.example.designpattenexample.combination;

import lombok.Data;

@Data
public class ChildOrg implements Organization{

    private String name;
    private String code;

    ChildOrg(String name,String code){
      this.name = name;
      this.code = code;
    }

    @Override
    public String printInfo() {
        return this.name + "-" + this.code;
    }
}
